package com.annchain.og_browser.service;

import com.annchain.og_browser.vo.PerformanceVO;
import com.annchain.og_browser.vo.BasePageResponse;
import com.annchain.og_browser.vo.LatestBlockVO;
import com.annchain.og_browser.vo.OgbBlockVO;

import java.util.List;

public interface OgbBlockService {
    public BasePageResponse<List<LatestBlockVO>> findData(Integer page, Integer limit);
    public OgbBlockVO findByHash(String hash);
    public OgbBlockVO findByHeight(Integer height);
    public void addKonwnAddress(String address, String name, String url);
    public PerformanceVO findAll();
}
